?>
<div id="cat_list">
	<p class="title center"><?php echo Lang::TRANSLATE("v_init_showcat_categorie_titre"); ?></p>
	<?php
	if(sizeof($this->catlist) > 0)
	{
		echo '<table id="cat_table">';
		foreach($this->catlist as $cat)
			echo '<tr>
			<td>
				<img alt="categorie_icon" src="/images/fl/fl_'.$cat->get_color_name().'.png"/>
			</td>
			<td>
				<span class="catitem" id="cat_'.$cat->get_id().'">'.$cat->get_name().'</span> ('.$cat->get_nb_article().')
			</td></tr>';
		echo '</table>';	
	}
	else // Pas de catégorie
	{
		echo '<p class="center"><img alt="warning" class="icon_margin" src="/images/warning.png"/></p>';
		echo "<p>".Lang::TRANSLATE("v_init_showcat_aucune_cat_trouvee")."</p>";
	}
	?>
	
	<!-- Recherche --><!--
	<form action="/search" method="post">
		<div>
			<p class="title center" style="margin-top:30px;margin-bottom:15px;"><label for="tb_search"><?php echo "search";?></label></p>
			<input type="text" name="tb_search" id="tb_search" style="width:95%;" />
		</div>
	</form>	
	<div style="clear:left">&nbsp;</div>
--></div>


